package com.wzxl.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @author 马浩 mahao@aowlx.onaliyun.com
 * @Package com.wzxl.config.redis
 * @Description: TODO ( Redis session配置 )
 * @Date 2018/3/15 16:02
 * @Version V1.0
 */
@Configuration
//maxInactiveIntervalInSeconds 默认是1800秒过期，这里测试修改为60秒
@EnableRedisHttpSession(maxInactiveIntervalInSeconds=60)
public class RedisSessionConfig {

}
